package com.kaiwukj.android.ufamily.mvp.http.entity.result;

import com.kaiwukj.android.ufamily.mvp.http.entity.base.BaseBean;

import java.util.List;

public class CommentResult extends BaseBean {
    /**
     * "commentContent": "",
     * "createTime": "",
     * "deleted": 0,
     * "dynamicId": 0,
     * "fromUid": 0,
     * "headImg": "",
     * "id": 0,
     * "nickname": "",
     * "replyList": [
     * {
     * "commentContent": "",
     * "commentatorId": 0,
     * "createTime": "",
     * "deleted": 0,
     * "fromNickname": "",
     * "fromUid": 0,
     * "id": 0,
     * "replyId": 0,
     * "replyType": 0,
     * "toNickname": "",
     * "toUid": 0,
     * "updateTime": ""
     * }
     * ],
     * "updateTime"":""
     */

    private String commentContent;
    private String createTime;
    private Integer dynamicId;
    private Integer fromUid;
    private String headImg;
    private Integer id;
    private String nickname;
    private List<CommentResult> replyList;
    private String updateTime;

    private Integer commentatorId;
    private String fromNickname;
    private Integer replyId;
    private Integer replyType;
    private String toNickname;
    private Integer toUid;
    private Integer replyNum;

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getDynamicId() {
        return dynamicId;
    }

    public void setDynamicId(Integer dynamicId) {
        this.dynamicId = dynamicId;
    }

    public Integer getFromUid() {
        return fromUid;
    }

    public void setFromUid(Integer fromUid) {
        this.fromUid = fromUid;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public List<CommentResult> getReplyList() {
        return replyList;
    }

    public void setReplyList(List<CommentResult> replyList) {
        this.replyList = replyList;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCommentatorId() {
        return commentatorId;
    }

    public void setCommentatorId(Integer commentatorId) {
        this.commentatorId = commentatorId;
    }

    public String getFromNickname() {
        return fromNickname;
    }

    public void setFromNickname(String fromNickname) {
        this.fromNickname = fromNickname;
    }

    public Integer getReplyId() {
        return replyId;
    }

    public void setReplyId(Integer replyId) {
        this.replyId = replyId;
    }

    public Integer getReplyType() {
        return replyType;
    }

    public void setReplyType(Integer replyType) {
        this.replyType = replyType;
    }

    public String getToNickname() {
        return toNickname;
    }

    public void setToNickname(String toNickname) {
        this.toNickname = toNickname;
    }

    public Integer getToUid() {
        return toUid;
    }

    public void setToUid(Integer toUid) {
        this.toUid = toUid;
    }

    public Integer getReplyNum() {
        return replyNum == null ? 0 : replyNum;
    }

    public void setReplyNum(Integer replyNum) {
        this.replyNum = replyNum;
    }
}
